mirror of
https://github.com/go-gitea/gitea
synced 2024-11-17 23:41:49 +01:00
b6a95a8cb3
* Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
31 lines
800 B
Go
31 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() {
|
|
}
|