mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 15:24:08 +01:00
32 lines
800 B
Go
32 lines
800 B
Go
|
// Code generated by protoc-gen-go.
|
||
|
// source: LoadBalancer.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package proto
|
||
|
|
||
|
import proto1 "github.com/golang/protobuf/proto"
|
||
|
import math "math"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto1.Marshal
|
||
|
var _ = math.Inf
|
||
|
|
||
|
type LoadBalancerState struct {
|
||
|
BalancerOn *bool `protobuf:"varint,1,opt,name=balancer_on" json:"balancer_on,omitempty"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *LoadBalancerState) Reset() { *m = LoadBalancerState{} }
|
||
|
func (m *LoadBalancerState) String() string { return proto1.CompactTextString(m) }
|
||
|
func (*LoadBalancerState) ProtoMessage() {}
|
||
|
|
||
|
func (m *LoadBalancerState) GetBalancerOn() bool {
|
||
|
if m != nil && m.BalancerOn != nil {
|
||
|
return *m.BalancerOn
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
}
|